package com.mmsoft.findertalk.entity;

import java.util.Date;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
public class Conversation extends EntityBase{
    private int id;
    private int roomId;
    private int userIdPart;
    private Date startDate;
    private Date endDate;
    private boolean status;
    
    //AUXILIARES
    private Room userPart;
    private long startDateL;
    private long endDateL;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getRoomId() {
        return roomId;
    }

    public void setRoomId(int roomId) {
        this.roomId = roomId;
    }

    public int getUserIdPart() {
        return userIdPart;
    }

    public void setUserIdPart(int userIdPart) {
        this.userIdPart = userIdPart;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public Room getUserPart() {
        return userPart;
    }

    public void setUserPart(Room userPart) {
        this.userPart = userPart;
    }

    public long getStartDateL() {
        return startDateL;
    }

    public void setStartDateL(long startDateL) {
        this.startDateL = startDateL;
    }

    public long getEndDateL() {
        return endDateL;
    }

    public void setEndDateL(long endDateL) {
        this.endDateL = endDateL;
    }
    
}
